package com.yuncheng.oaApi.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.OaswVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface OaSwFlowMapper {
    Page<OaswVo> flowJobPage(Page<OaswVo> page,
                             @Param("onlyCurrentUser") boolean onlyCurrentUser,
                             @Param("user") CurrentUserVo user,
                             @Param("spcyFlowVo") OaswVo oaswVo);

    Page<OaswVo> flowJkPage(Page<OaswVo> page,
                            @Param("onlyCurrentUser") boolean onlyCurrentUser,
                            @Param("user") CurrentUserVo user,
                            @Param("spcyFlowVo") OaswVo oaswVo);


    Page<OaswVo> myYbFlowPage(Page<OaswVo> page,
                              @Param("onlyCurrentUser") boolean onlyCurrentUser,
                              @Param("user") CurrentUserVo user,
                              @Param("spcyFlowVo") OaswVo oaswVo);
}
